/**
 * teacher
 */
package com.thinkgem.jeesite.zmis.teacher.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 教师Entity
 * @author ll
 * @version 2017-10-11
 */
public class ZmisTeacher extends DataEntity<ZmisTeacher> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 姓名
	private String gh;		// 工号
	private String sex;		// 性别
	private String phone;		// 联系电话
	private String email;		// 邮箱
	private String specialty;		// 专业特长
	private String guidancePost;		// 指导岗位
	private String content;		// 指导内容
	
	public ZmisTeacher() {
		super();
	}

	public ZmisTeacher(String id){
		super(id);
	}

	@Length(min=1, max=64, message="姓名长度必须介于 1 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=64, message="工号长度必须介于 1 和 64 之间")
	public String getGh() {
		return gh;
	}

	public void setGh(String gh) {
		this.gh = gh;
	}
	
	@Length(min=1, max=1, message="性别长度必须介于 1 和 1 之间")
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	@Length(min=1, max=20, message="联系电话长度必须介于 1 和 20 之间")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=20, message="邮箱长度必须介于 0 和 20 之间")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getSpecialty() {
		return specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}
	
	public String getGuidancePost() {
		return guidancePost;
	}

	public void setGuidancePost(String guidancePost) {
		this.guidancePost = guidancePost;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}